<?php
/**
 * Created by PhpStorm.
 * User: Lxx<779219930@qq.com>
 * Date: 2018/11/2
 * Time: 11:33
 */

namespace app\home\model;


use think\Model;

class Base extends Model
{
    /**
     * 获取封面图片
     */
    public function get_cover($id){
        $path = Picture::get($id);
        $return = $path ? $path['path'] : "";
        return $return;
    }
}